package com.platform.service;

import com.platform.entity.SurveyAnswersEntity;
import com.platform.entity.SurveyEntity;
import com.platform.entity.SurveyQuestionEntity;
import com.platform.params.SurveyAnswerParams;
import com.platform.params.SurveyQuestionParams;

import java.util.List;

public interface SurveyService {

    /**
     * 新增调查表
     * @param title 调查表名称
     * @param surveyDesc 调查表描述
     * @param displayStatus 是否展示
     */
    public SurveyEntity saveSurvey(String title, String surveyDesc, int displayStatus);

    /**
     * 新增问题表
     * @param questionParamsList
     * @return
     */
    public List<SurveyQuestionEntity> saveSurveyQuestion(List<SurveyQuestionParams> questionParamsList);

    /**
     * 保存调查表答案
     * @param answerParamsList
     * @return
     */
    public List<SurveyAnswersEntity> saveSurveyAnswer(List<SurveyAnswerParams> answerParamsList);




}
